
<%@ page contentType="text/html;charset=UTF-8" %>
<jsp:useBean id="artworks" type="java.util.List<at.ac.lbg.media.vis.framework.model.Artwork>" scope="request"/>

<html>
  <head><title>Überblick aller Services</title></head>
  <body>
  	<table border="1">
    <% 
    java.text.NumberFormat nf = java.text.NumberFormat.getInstance();
    for (at.ac.lbg.media.vis.framework.model.Artwork a : artworks) { %>
    <tr><td><b><%= a.getTitle() %></b></td><td><%= nf.format(a.getX()) %>:<%= nf.format(a.getY()) %></td><td>
    	<% for (at.ac.lbg.media.vis.framework.model.Category c : a.getCategories()) { %>
    		<%= c.getName() %>, 
    	<% } %>&nbsp;</td></tr>
    
    <% } %>     
	</table>
  </body>
</html>